package com.pg.service.impl;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pg.entity.rz.EipDataDetailedInfo;
import com.pg.mapper.EipDataDetailedInfoMapper;
import com.pg.service.EipDataDetailedInfoService;

/**
 * <p>
 * 日志详情 服务实现类
 * </p>
 *
 * @author likl
 * @since 2020-06-04
 */
@Service
@DS("proxyDs")
@Primary
public class EipDataDetailedInfoServiceImpl extends ServiceImpl<EipDataDetailedInfoMapper, EipDataDetailedInfo> implements EipDataDetailedInfoService {

    @Autowired
    private EipDataDetailedInfoMapper eipDataDetailedInfoMapper;

    @Override
    public List<EipDataDetailedInfo> selectForList(Page<EipDataDetailedInfo> page, EipDataDetailedInfo eipDataDetailedInfo, Date operationStartDate, Date operationEndDate) {
        return eipDataDetailedInfoMapper.selectForList(page, eipDataDetailedInfo.getSupplierCode(), eipDataDetailedInfo.getDataSource(), eipDataDetailedInfo.getID(), eipDataDetailedInfo.getSubclassCode(), eipDataDetailedInfo.getOperationType(), eipDataDetailedInfo.getLinkPUID(), operationStartDate, operationEndDate);
    }
}
